package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.ChannelDto;
import com.heima.model.wemedia.pojos.WmChannel;

public interface WmChannelService extends IService<WmChannel> {
    //删除
    ResponseResult delete(Integer id);

    //修改频道
    ResponseResult channelUpdate(WmChannel wmChannel);

    //频道查询
    ResponseResult channelList(ChannelDto dto);

    //保存频道
    ResponseResult channelSave(WmChannel wmChannel);

    //查询所有频道
    ResponseResult findAll();
}
